package com.sctu.test;

import com.sctu.http.GetJson;

import java.io.IOException;

/**
 * Created by Administrator on 2015/12/7.
 */
public class Httptest {
    public static void main(String[] args) {
        GetJson json = new GetJson();
        try {
            //String jsoninfo00 = json.requestByGet(FamousURL.FAMOUS_LIST);
            String jsoninfo00 = json.requestByGet("http://172.16.10.54:18080/et.api/category/1/articles");
            System.out.print(jsoninfo00);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
